home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 1.7 KB | 40 lines | [TEXT/GEOL] |
- Item 1099873 23-Jan-91 06:54PST
-
- From: KEN.DULOCK EDS, Ken Dulock,VCA
-
- To: MACAPP.TECH$ MacApp Technical
-
- ------------------------------------------------------------------------------
-
- Sub: NewTemplateWindow??
-
- As a new up and struggling MacApp user, I would appreciate any help on the
- following problem. In my program I want to open a window which will display
- graphic objects which are loaded from disk and added procedurally to a
- superview. I am using NewTemplateWindow to load my foundation 'view' template,
- finding my desired subview, then using it when I instantate different items,
- like icons and such.
-
- While this is taking place, I want to display a modal dialog that is saying
- "Please wait..." while updating a visual graphic of the progress of the load,
- such as a percentage bar or an icon being filled in. I am doing this also with
- NewTemplateWindow, but I'm passing nil as the parent document, since I don't
- want it tied to my "real" window.
-
- I'm opening my modal first, then my actual document window. As soon as I call
- the second (real document) NewTemplateWindow, I crash with an ID #28,
- stack/heap collision. After reading the various manuals, it seems that my only
- choice is NewTemplateWindow or PoseModally, the second of which will not do me
- any good since I want my program to continue processing in the background, then
- send Update() calls at various times during the process.
-
- Any ideas on what I'm doing to cause the ID #28? Am I already heading down the
- wrong road.
-
- Please reply directly, I'm not yet with the MacApp.Tech$ group (though I would
- like to be added, if the MacApp.Tech$ admin is reading this message).
-
- Richard Harvey
- ALink: Ken.Dulock
-
-